package com.ikun.common.client;

import com.ikun.common.entity.Docker;
import com.ikun.common.entity.PageEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * 调用Docker医生服务
 *
 * @author Guio
 */
@FeignClient("hos-search")
public interface DockerServiceClient {

    /**
     * 搜索医生
     */
    @PostMapping("/search/docker")
    ResponseEntity<PageEntity<Docker>> searchDocker(@RequestBody Map<String, String> map) throws NoSuchFieldException;

}
